ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / ListBox<T> Class / VirtualizationThreshold Property






In This Topic
    VirtualizationThreshold Property (ListBox<T>)
    In This Topic
    Gets or sets the minimum number of rows and/or columns required to enable virtualization in the ListBox.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute(2147483647)>
    Public Property VirtualizationThreshold As System.Integer
    'Usage
     
    
    Dim instance As ListBox(Of T)
    Dim value As System.Integer
     
    instance.VirtualizationThreshold = value
     
    value = instance.VirtualizationThreshold
    [System.ComponentModel.DefaultValue(2147483647)]
    public System.int VirtualizationThreshold {get; set;}
    public read-write property VirtualizationThreshold: System.Integer; 
    System.ComponentModel.DefaultValueAttribute(2147483647)
    public function get,set VirtualizationThreshold : System.int
    [System.ComponentModel.DefaultValue(2147483647)]
    public: __property System.int get_VirtualizationThreshold();
    public: __property void set_VirtualizationThreshold( 
       System.int value
    );
    [System.ComponentModel.DefaultValue(2147483647)]
    public:
    property System.int VirtualizationThreshold {
       System.int get();
       void set (    System.int value);
    }
    Remarks
    The default value for this property is a very big number, meaning virtualization is disabled. To enable virtualization, set its value to 0 or a positive number.
    See Also